package com.seckill.config;

import com.seckill.utils.R;
import com.seckill.vo.ProductSkuVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * description:
 *
 * @Author youhongwei
 * @Create 2025/7/24 22:24
 * @Version 1.0
 */
@Service
@FeignClient(contextId = "productApi",value = ServiceNameConstants.STRING_PRODUCT)
public interface ProductApi {

    @PostMapping("productApi")
    public R product(Long productId);

}
